List Public Works
Public Works
List Public Works
GET
List Public Works
Retrieves a paginated list of public works (obras) with optional filtering and search capabilities.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/LizandroCanul/back_sdo/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
This endpoint requires a valid JWT token. Both admin and user roles can access this endpoint.
Headers
Bearer token for authentication
Query Parameters
Number of obras to return per page. Minimum value: 1.
Page number to retrieve. Minimum value: 1.
Search keyword to filter obras by name, description, or unique key (claveUnica). Case-insensitive partial match.Example:
search=BañosFilter obras by fiscal year ID.
Filter obras by municipality ID.
Response
Array of obra objects
Unique identifier for the obra
Sequential obra number within the fiscal year (auto-generated)
Unique key for the obra (max 50 characters)
Name of the public work (max 255 characters)
Detailed description of the obra
Budget amount (decimal with 2 decimal places)
Fiscal year ID
Fiscal year details object
Department/dependency ID
Department details object
Municipality ID
Municipality details object
Project type ID (nullable)
Project type details object
Work status ID
Work status details object
Array of location objects associated with this obra
Location ID
Municipality ID for this location
Street address
Locality reference (nullable)
Place reference (nullable)
Geometry type:
PUNTO, RUTA, or POLIGONOGeoJSON geometry data
Display order
Pagination metadata
Total number of obras in the database matching the filters
Number of obras returned in this response
Number of items per page (same as limit parameter)
Total number of pages available
Current page number